<?php


namespace App\Exceptions;


class CustomException extends \Exception
{

    public $code;
    public $message;

    public function __construct($code = 1001, $msg = '系统异常')
    {
        $this->code = $code;
        $this->message = $msg;
    }
}
